<template>
	<div>
		<p>子组件1</p>
		<button @click="change">传值</button>
	</div>

</template>

<script>
	// import Bus from '@/utils/bus.js'
	export default {
		data() {
			return {}
		},
		methods: {
			change(){
				this.$bus.$emit('transData','子组件1的财产')//触发transData
			}
		}
	}
</script>

<style scoped>
</style>